package com.bycx.dingxinlc.service;

import java.math.BigDecimal;
import java.util.Map;

import com.bycx.dingxinlc.model.TCustPayInfo;

public interface WechatPayService {
	/**
	 * 生成预支付订单
	 * 
	 * @Title: preOrder
	 * @param @param money 参数
	 * @return String 返回prepay_id
	 * @throws
	 */
	Map<String, String> preOrder(BigDecimal money) throws Exception;

	/**
	 * 更新订单支付信息
	 * 
	 * @Title: saveOrderInfo
	 * @param @param wechatCallbackResult 参数
	 * @return
	 */
	void updateOrderInfo(Map<String, String> map) throws Exception;

	/**
	 * 根据orderNo查询订单信息
	 * 
	 * @Title: queryPayInfoByOrderNo
	 * @param @param orderNo
	 * @param @return 参数
	 * @return TCustPayInfo 返回类型
	 * @throws
	 */
	TCustPayInfo queryPayInfoByOrderNo(String orderNo);

}
